home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
unixlib.lha
/
unix
/
src
/
sleep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-04
|
252b
|
15 lines
#include "amiga.h"
#include "timers.h"
#include "signals.h"
int sleep(unsigned seconds)
{
__chkabort();
_timer_start(_odd_timer, seconds, 0);
while (!_timer_expired(_odd_timer))
_handle_signals(_wait_signals(_odd_sig));
return 0;
}